Title omitted for double-blind reasons

نویسندگان

  • Florent Bouchez
  • Quentin Colombet
  • Alain Darte
  • Christophe Guillon
  • Fabrice Rastello
چکیده

Recent results on the static single assignment (SSA) form open promising directions for the design of new register allocation heuristics for just-in-time (JIT) compilation. In particular, heuristics based on tree scans with two decoupled phases, one for spilling, one for splitting/coloring/coalescing, seem good candidates for designing memory-friendly, fast, and competitive register allocators. Another class of register allocators, well-suited for JIT compilation, are those based on linear scans. Most of them perform coalescing poorly but also do live-range splitting (mostly on control-flow edges) to avoid spilling. This leads to a large amount of register-toregister copies inside basic blocks but also, implicitly, on critical edges, i.e., edges that flow from a block with several successors to a block with several predecessors. This paper presents a new back-end optimization that we call parallel copy motion. The technique is to move copy instructions in a register-allocated code from a program point, possibly an edge, to another. In contrast with a classical scheduler that must preserve data dependences, our copy motion also permutes register assignments so that a copy can "traverse" all instructions of a basic block, except those with conflicting register constraints. Thus, parallel copies can be placed either where the scheduling has some empty slots (for multiple-issues architectures), or where fewer copies are necessary because some variables are dead at this point. Moreover, to the cost of some code compensations (namely, the reverse of the copy), a copy can also be moved out from a critical edge. This provides a simple solution to avoid critical-edge splitting, especially useful when the compiler cannot split it, as it is the case for abnormal edges. This compensation technique also enables the scheduling/motion of the copy in the successor or predecessor basic block. Experiments with the SPECint benchmarks suite and our own benchmark suite show that we can now apply broadly an SSA-based register allocator: all procedures, even with abnormal edges, can be treated. Simple strategies for moving copies from edges and locally inside basic block show significant average improvements (4% for SPECint and 3% for our suite), with no degradation. It let us believe that the approach is promising, and not only for improving coalescing in fast register allocators.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

مقایسه خمیردندان سه رنگ پونه با خمیردندان معمولی پونه در پیشگیری از تشکیل پلاک میکروبی

Background and Aim: Plaque control has always been important in preventive dentistry. Various methods and materials have been introduced for this purpose. Recently a three-colored tooth paste has been introduced which claims to prevent plaque formation. The aim of this study was to compare three-colored pouneh tooth paste containing triclosan with the conventional one in preventing plaque forma...

متن کامل

Statins in hypercholesterolaemia: A dose-specific meta-analysis of lipid changes in randomised, double blind trials Authors: Dr

Statins in hypercholesterolaemia: A dose-specific meta-analysis of lipid changes in Title: randomised, double blind trials

متن کامل

Author's response to reviews Title: Hypocaloric diet supplemented with probiotic cheese improves body mass index and blood pressure indices of obese hypertensive patients - a randomized double-blind placebocontrolled pilot study Authors:

Title: Hypocaloric diet supplemented with probiotic cheese improves body mass index and blood pressure indices of obese hypertensive patients-a randomized double-blind placebocontrolled pilot study

متن کامل

Author's response to reviews Title: Short-term outcomes of extracorporeal shock wave therapy for the treatment of chronic non-calcific tendinopathy of the supraspinatus: a double-blind, randomized, placebo-controlled trial. Authors:

Title: Short-term outcomes of extracorporeal shock wave therapy for the treatment of chronic non-calcific tendinopathy of the supraspinatus: a double-blind, randomized, placebo-controlled trial.

متن کامل

Author’s response to reviews Title: A Pilot Single Centre, Double Blind, Placebo Controlled, Randomized, Parallel Study of Calmagen® Dermaceutical Cream and Lotion for the Topical Treatment of Tinea and Onychomycosis Authors:

Title: A Pilot Single Centre, Double Blind, Placebo Controlled, Randomized, Parallel Study of Calmagen® Dermaceutical Cream and Lotion for the Topical Treatment of Tinea and Onychomycosis Authors: Manoj Parekh ([email protected]) Girisha Ramaiah ([email protected]) Prachi Pashilkar ([email protected]) Ranjani Ramanujam ([email protected]) Peter Johnston (peter@bi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009